import { failure } from '../utils/responses'
import { NextFunction, Response, Request } from 'express'

export default (err: Error, req: Request, res: Response, next: NextFunction) => {
  failure(res, err)
}
